package com.mk.seckill.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mk.seckill.pojo.Goods;
import com.mk.seckill.vo.GoodsVo;

import java.util.List;

public interface GoodsMapper extends BaseMapper<Goods> {
	/**
	 * @Author hhwu
	 * @Description //TODO 查询商品列表和详情的mapper
	 * @Date 15:04 2022/6/7
	 **/

	// 获取商品列表
	List<GoodsVo> findGoodsVo();

	// 获取商品详情
	GoodsVo findGoodsVoByGoodsId(Long goodsId);
}
